import request from '@/utils/request'

export function applyMerchant(data) {
  return request({
    url: '/merchant/apply',
    method: 'post',
    params: {
      userId: data
    }
  })
}

export function getMerchantProduct(params) {
  return request({
    url: '/product/merchantList',
    method: 'get',
    params
  })
}
